import { RouteRecordRaw } from "vue-router";

export const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    // 重定向
    redirect: "/home",
  },
  {
    name: "home",
    path: "/home",
    meta: {
      title: "首页",
      // 是否缓存
      keepAlive: false,
    },
    component: () => import("@/views/home.vue"),
  },
];
